<div class="user_app"><!-- 用户组件列表 begin -->
	<div class="user_app_top"></div>
    <div class="user_app_box">
  <div class="userinfo">
    	<div class="userpic" onmouseover="this.className='userpic over'" onmouseout="this.className='userpic'" ><span id="my_face"><space uid="mid">{uavatar=b}</space></span>
		<a class="pic" href="{:U('home/account/index')}#face">上传头像</a>
		</div>
  		<div class="user_name">
        	<h2><a href="{:U('home/Space/index')}">{$mid|getUserName}{$mid|getUserVerifiedIcon}</a></h2>
           
      </div>
        <!--{:W('Medal',array('async'=>1))}-->
  </div>
 
  <div class="celerity_menu app_line">
  	<ul>
    <li><a href="{:U('home/Home/index')}" {:getMenuState('Home/index')}>我的首页</a></li>
	<li><a href="{:U('home/Myshop/index')}" {:getMenuState('Myshop/index')}>我是卖家</a></li>
    <li><a href="{:U('home/Myqiugou/index')}" {:getMenuState('Myqiugou/index')}>我是买家</a></li>
    <li><a href="{:U('home/Home/boy')}" {:getMenuState('Home/boy')}>同校同学</a></li>
  	</ul>
  </div>
  
    </div>
	<div class="user_app_btm"></div>
	<volist name="ts['ad']['left']" id="vo">
    <div class="ad_left"><div class="ke-post">{$vo.content}</div></div>
	</volist>
	</div><!-- 用户组件列表 end -->
<php>
function getMenuState($type){
	$type = split('/',$type);
	if( strtolower(MODULE_NAME)==strtolower($type[0]) && ( strtolower(ACTION_NAME)==strtolower($type[1]) || $type[1]=='*') ){
		return 'class="on"';
	}
}
</php>
